2007-10-08 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilesystemmodel.c (got_root_folder_cb),
(get_children_get_folder_cb): don't "corrupt" all iterators by
reversing the list after adding the items. Reversing the list isn't
needed anyway as the order of the items in the model does not matter.
(Fixes #327243, comment 10).
svn path=/trunk/; revision=18891
+2007-10-08 Kristian Rietveld <kris@imendio.com>
+
+ * gtk/gtkfilesystemmodel.c (got_root_folder_cb),
+ (get_children_get_folder_cb): don't "corrupt" all iterators by
+ reversing the list after adding the items. Reversing the list isn't
+ needed anyway as the order of the items in the model does not matter.
+ (Fixes #327243, comment 10).
+
2007-10-08 Kristian Rietveld <kris@imendio.com>
Fix #482841, patch by Karl Tomlinson.
}
g_slist_free (roots);
- model->roots = (FileModelNode *) g_slist_reverse ((GSList *)model->roots);
-
out:
g_object_unref (model);
g_object_unref (handle);
g_slist_free (child_paths);
}
- data->node->children = (FileModelNode *)g_slist_reverse ((GSList *)data->node->children);
-
g_signal_connect (data->node->folder, "deleted",
G_CALLBACK (deleted_callback), data->node);
g_signal_connect (data->node->folder, "files-added",